package com.sobey.web.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Controller;

@Configuration
@ComponentScan(basePackages = "com.sobey.web.function", excludeFilters = { @ComponentScan.Filter(type=FilterType.ANNOTATION, value = {Controller.class}) })
@EnableAspectJAutoProxy(proxyTargetClass=true)
@Import({MongoConfig.class,CachingConfig.class})
public class AppConfig {

}
